#pragma once
#ifndef PLOTADAPTER_H
#define PLOTADAPTER_H
#include <boost/noncopyable.hpp>
#include "../basic/Chart.h"
#include "../../storage/Storage.h"
namespace LightChart {
class PlotAdapter : public boost::noncopyable {
public:
    PlotAdapter(Chart & chart): chart(chart), storage(Storage::get_instance()) {}
    virtual void draw() = 0;
    virtual ~PlotAdapter() {}
protected:
    Chart & chart;
    Storage & storage;
};
}
#endif // PLOTADAPTER_H
